package com.summer.main;

import com.summer.main.InterfaceTestBaseObject.InterfaceTestObject.Attribute;

public class InterfaceTestBaseObjectImpl extends InterfaceTestBaseObject{

	private Attribute attribute=null;
	private InterfaceTestObjectSubImpl impl = new InterfaceTestObjectSubImpl();
	public InterfaceTestBaseObjectImpl(){
		attribute = new Attribute();
	}
	public InterfaceTestBaseObjectImpl(Attribute attribute){
		this.attribute = attribute;
	}
	
	@Override
	public void setAttribut(Attribute attribute) {
		this.attribute = attribute;
	}

	@Override
	public Attribute getAttribut() {
		return attribute;
	}

	public void init(){
		impl.setAttribut(new Attribute());
	}
}
